Hash table: chaining and open addressing